﻿using SqlSugar;

namespace LowCoding.Domain
{
    /// <summary>
    /// 企业附件表
    /// </summary>
    [SugarTable("ATTACHMENT_COMPANY")]
    public class AttachmentCompany
    {
        /// <summary>
        /// 主键id
        /// </summary>
        [SugarColumn(ColumnName = "ATC_ID", IsPrimaryKey = true)]
        public string Id { get; set; }

        /// <summary>
        /// 企业ID
        /// </summary>
        [SugarColumn(ColumnName = "FLT_ID")]
        public string FltId { get; set; }

        /// <summary>
        /// 附件类型 BL:营业执照，VI认证授权书
        /// </summary>
        [SugarColumn(ColumnName = "ATC_TYPE")]
        public string AtcType { get; set; }

        /// <summary>
        /// 附件名称
        /// </summary>
        [SugarColumn(ColumnName = "ATC_NAME")]
        public string AtcName { get; set; }

        /// <summary>
        /// 附件路径
        /// </summary>
        [SugarColumn(ColumnName = "ATC_PATH")]
        public string AtcPath { get; set; }

        /// <summary>
        /// 新增时间
        /// </summary>
        [SugarColumn(ColumnName = "CREATED")]
        public DateTime? Created { get; set; }

        /// <summary>
        /// 新增人员
        /// </summary>
        [SugarColumn(ColumnName = "CREATOR")]
        public string Creator { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        [SugarColumn(ColumnName = "LASTMODIFIED")]
        public DateTime? Lastmodsified { get; set; }

        /// <summary>
        /// 修改人员
        /// </summary>
        [SugarColumn(ColumnName = "LASTMODIFIER")]
        public string Lastmodsifier { get; set; }

        /// <summary>
        /// 是否删除(1 为删除  0和空 为 未删除)
        /// </summary>
        [SugarColumn(ColumnName = "ISDEL")]
        public int? Isdel { get; set; }

        /// <summary>
        /// 修改次数
        /// </summary>
        [SugarColumn(ColumnName = "VERSION")]
        public int Version { get; set; }
    }
}
